/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mycompany.ingsoc2;

import com.mycompany.ingsoc2.SwingViews.VcLoginViewSwing;


/**
 *
 * @author sebastian
 */
public class VcLoginController {

    private VcLoginViewSwing calcView;
    private VcLoginModel modeloCalc;

    /**
     *
     * @param vista
     * @param modelo
     */
    VcLoginController(VcLoginViewSwing vista, VcLoginModel modelo, VcPrincipalController modeloPrincipal) {
        this.calcView = vista;
        this.modeloCalc = modelo;

        this.calcView.agregarListenerCmdLogin(new VcLstLogin(vista, modelo,modeloPrincipal));
        this.mostrarLogin();
    }
/**
 * Muestra el login
 */
    public final void mostrarLogin() {
        this.calcView.mostrarLogin();
    }
    
  
    

    VcLoginController(VcLoginViewMock vista, VcLoginModel calc) {

        //vista.mostrarCalculadora(calc);
        
    }
}

/**
 *
 * @author sebastian
 */







